package io.renren.modules.generator.service;

import io.renren.modules.generator.entity.DisciplineEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-11 22:07:47
 */
public interface DisciplineService {
	
	DisciplineEntity queryObject(Integer disciplineno);
	
	List<DisciplineEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DisciplineEntity discipline);
	
	void update(DisciplineEntity discipline);
	
	void delete(Integer disciplineno);
	
	void deleteBatch(Integer[] disciplinenos);

	List<DisciplineEntity> findAllDiscipline();
}
